package com.ethink.warehouse.common.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import java.math.BigDecimal;
import java.util.Date;
import com.ethink.framework.common.db.SuperEntity;

/**
 * 其他入库明细 数据库实体
 *
 * @author default
 * @date 2023-02-09
 */
@Data
@TableName("t_mate_inventory_other_in_log_detail")
public class MateInventoryOtherInLogDetail extends SuperEntity {

    public static final String ORDER_NO ="order_no";

    public static final String MATE_SKU ="mate_sku";

    public static final String INVENTORY_TYPE ="inventory_type";

    public static final String QTY ="qty";

    public static final String COST_PRICE ="cost_price";

    public static final String PRODUCE_CODE ="produce_code";

    public static final String RK_TIME ="rk_time";

    public static final String COUNTRY_OF_ORIGIN ="country_of_origin";

    public static final String PRODUCT_DATE ="product_date";

    public static final String EXPIRE_DATE ="expire_date";

    public static final String PURCHASE_CODE ="purchase_code";

    public static final String MATE_INVENTORY_ID ="mate_inventory_id";


    /** 操作流水 */
    private String orderNo;

    /** 商品SKU */
    private String mateSku;

    /** 枚举 库存类型:1-正品(zp)|2-瑕疵(cc) */
    private Integer inventoryType;

    /** 入库数量 */
    private Integer qty;

    /** 成本单价 */
    private BigDecimal costPrice;

    /** 生产批次 */
    private String produceCode;

    /** 入库时间 */
    private Date rkTime;

    /** 原产国 */
    private String countryOfOrigin;

    /** 商品生产日期 */
    private Date productDate;

    /** 商品过期日期 */
    private Date expireDate;

    /** 采购批次 */
    private String purchaseCode;

    /** 批次库存ID */
    private Long mateInventoryId;

}
